package org.springframework.samples.webflow.dao;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class SearchCriteria implements Serializable {

	private static final long serialVersionUID = -7803904764773559702L;

	Map<String, Criteria> criterias;
	
	public SearchCriteria () {
		criterias = new HashMap<String, Criteria>();
	}
	
	public void addCriteria(String paramName, Criteria paramValue) {
		criterias.put(paramName, paramValue);
	}

	public Map<String, Criteria> getCriterias() {
		return criterias;
	}
}
